package com.wgj.android.accesslibility.job;

import android.accessibilityservice.AccessibilityService;
import android.app.Notification;
import android.view.accessibility.AccessibilityEvent;

import com.wgj.android.accesslibility.IStatusBarNotification;
import com.wgj.android.accesslibility.service.BaseAccesslibilityServier;

public interface AccessbilityJob {
    public static final String BUTTON_CLASS_NAME = "android.widget.Button";
    /** 微信的包名*/
    public static final String WECHAT_PACKAGENAME = "com.tencent.mm";

    String getTargetPackageName();
    void onCreateJob(AccessibilityService service);
    void onReceiveJob(AccessibilityEvent event);
    void onStopJob();
    void onNotificationPosted(IStatusBarNotification event);

    /**
     * 设置微信版本号
     * @param version
     */
    void  setWeiXingVersion(int version);
    boolean isEnable();
}
